package com.bonuo.crm.service.impl;

import com.bonuo.crm.domain.Inform;
import com.bonuo.crm.mapper.InformMapper;
import com.bonuo.crm.service.InformService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class InformServiceImpl implements InformService {
    @Autowired
    private InformMapper informMapper;
    @Override
    public List<Inform> selectInformList(Inform inform) {
        return informMapper.selectInformList(inform);
    }

    @Override
    public Integer updateInform(Inform inform) {
        return informMapper.updateInform(inform);
    }

    @Override
    public Integer updateInformAll(Inform inform) {
        return informMapper.updateInformAll(inform);
    }

    @Override
    public List<Inform> selectNoNoticeInfo(Inform inform) {
        return informMapper.selectNoNoticeInfo(inform);
    }
}
